<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Test</title>
    <script>
        let el = console.log;
        /**
         * 三级原型 自己=>数组原型=>对象原型
         */
        var arr = ['后蹲人']
        el(arr.concat('xaoiobduai'))

        /**
         * 二级原型 自己=>对象原型
         */
        var obj1 = {}
        el(obj1)

        var obj2 = {}
        //原型判断
        el(Object.getPrototypeOf(obj1) == Object.getPrototypeOf(obj2)) //同一个原型对象能对其进行重新赋值 =>过继
    </script>
</head>

<body>
    <h1>Test页面</h1>
</body>

</html>